<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<script src="./js/vue.js"></script>
<link href="https://cdn.jsdelivr.net/npm/animate.css@3.5.1" rel="stylesheet" type="text/css">
<body>
    <div class="box">
        <button @click="show=!show">切换</button>
        <!-- animate__bounce -->
        <transition enter-active-class="animated bounce">
            <h1 v-show="show">于明洋</h1>
        </transition>
    </div>
    <script>
        const vm = new Vue({
            el:'.box',
            data:{
                show:true
            }
        })
    </script>
</body>
</html>